package cn.wolfcode.fegin.fallback;

import cn.wolfcode.common.web.CommonCodeMsg;
import cn.wolfcode.common.web.Result;
import cn.wolfcode.domain.OrderInfo;
import cn.wolfcode.domain.PayVo;
import cn.wolfcode.domain.Product;
import cn.wolfcode.domain.RefundVo;
import cn.wolfcode.fegin.PayFeginApi;
import cn.wolfcode.fegin.ProductFeginApi;
import cn.wolfcode.web.msg.SeckillCodeMsg;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Author: 普发忠
 * @Date: 2021/11/09/15:23
 */
@Component
public class PayFeginApiFeginFallback implements PayFeginApi {
    
    @Override
    public Result<String> payOnlin(PayVo payVo) {
        return Result.error(SeckillCodeMsg.PAY_SERVER_ERROR);
    }
    
    @Override
    public Result<Boolean> valIdatasign(Map<String, String> params) {
        return null;
    }
    
    @Override
    public Result<Boolean> refundOnLine(RefundVo refundVo) {
        return null;
    }
}
